package com.bjfu.eduorder.client;

import com.bjfu.common_utils.vo.CourseWebVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-edu")
public interface EduCLient {
    // 根据课程id获取课程详情信息
    @GetMapping("/eduservice/coursefront/getCourseInfoClient/{id}")
    public CourseWebVo getCourseInfoClient(@PathVariable String id);
}
